package org.sy.lab.Java7并发编程实战.七定制并发类.四在Executor对象中使用ThreadFactory;

import java.util.concurrent.TimeUnit;

public class MyTask implements Runnable {
	@Override
	public void run() {
		try {
			TimeUnit.SECONDS.sleep(2);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
